<%@ page import="com.zzc.bean.Employee" %>
<%@ page import="java.util.List" %>
<%@ page import="com.zzc.bean.Techer" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.URLDecoder" %>
<%@ page import="java.net.URLEncoder" %>
<%@ page import="com.zzc.bean.Dining" %>
<%@ page import="com.zzc.bean.DiningReceipt" %>
<%--
  Created by IntelliJ IDEA.
  Employee: HP
  Date: 2017/11/7
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Title</title>
</head>
<body>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%
    List<DiningReceipt> list_diningReceipts = (List<DiningReceipt>) request.getAttribute("list_diningReceipts");
%>
<div align="center">
<table border="1">
    <tr>
        <td>Num. de usuario</td>
        <td>Nom. de empresa</td>
        <td>Fecha</td>
        <td>Tipo</td>
        <td>Num. de dirigentes</td>
        <td>Num. de empleados</td>
        <td>Notas</td>
    </tr>
    <%
        if(list_diningReceipts!=null&&list_diningReceipts.size()>0)
        {
            for(int i=0;i<list_diningReceipts.size();i++)
            {
                DiningReceipt diningReceipt = list_diningReceipts.get(i);
    %>

    <tr>
        <td><%=diningReceipt.getEmployee_account()%></td>
        <td><%=diningReceipt.getDining_company() %></td>
        <td><%=diningReceipt.getDining_time() %></td>
        <td><%=diningReceipt.getDining_type() %></td>
        <td><%=diningReceipt.getLeadership_number() %></td>
        <td><%=diningReceipt.getEmployee_number() %></td>
        <td><%=diningReceipt.getNote() %></td>
    </tr>
    <%
            }
        }
    %>
</table>
</div>
</body>
</html>
